/**
 * IPackfactoryEmployService.java
 * Created at 2017-3-14
 * Created by shihui
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.basic.service;

import java.util.List;
import java.util.Map;

import com.broadtext.common.bean.EntityPageBean;
import com.broadtext.common.exp.ServiceException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.basic.model.TmPackfactoryEmploy;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

/**
 * <p>ClassName: IPackfactoryEmployService</p>
 * <p>Description: 生产厂人员服务接口</p>
 * <p>Author: shihui</p>
 * <p>Date: 2017-3-14</p>
 */
public interface IPackfactoryEmployService extends IEntityService<TmPackfactoryEmploy> {

    /**
     * 
     * <p>Description: 查询生产厂人员记录</p>
     * @param map 查询条件
     * @param pageBounds 翻页信息
     * @return 查询结果
     * @throws ServiceException 异常
     */
    EntityPageBean<Object> getFactoryEmploys(Map<String, Object> map, PageBounds pageBounds) throws ServiceException;

    /**
     * 
     * <p>Description: 根据id删除人员</p>
     * @param idArray id数组
     * @param sysUser 操作用户
     * @throws ServiceException 异常
     */
    void deleteEmployByIds(String[] idArray, String sysUser) throws ServiceException;

    /**
     * 
     * <p>Description: 查询生产厂人员详情</p>
     * @param pkId 人员ID
     * @return 人员详情
     * @throws ServiceException 异常
     */
    Object findEmployInfoById(String pkId) throws ServiceException;

    /**
     * 
     * <p>Description: 页面归属厂下拉框数据查询</p>
     * @return 归属厂数据
     * @throws ServiceException 异常
     */
    List<Object> findFactory() throws ServiceException;

    /**
     * 
     * <p>Description: 验证操作删除人员是否已绑定用户</p>
     * @param idArray 人员ID
     * @return 验证结果:true-已绑定；false-未绑定
     * @throws ServiceException 异常
     */
    boolean checkUserBind(String[] idArray) throws ServiceException;
    
}
